V567 The modification of the 's' variable is unsequenced relative to another operation on the same variable. This may lead to undefined behavior.
inline state_t operator++(state_t& s, int) // postfix
{
state_t ret(s);
- s = ++s;
+ ++s;
return ret;
}
inline header_type operator++(header_type& s, int) // postfix
{
header_type ret(s);
- s = ++s;
+ ++s;
return ret;
}
inline gt_display_modes_e operator++(gt_display_modes_e& s, int) // postfix
{
gt_display_modes_e ret(s);
- s = ++s;
+ ++s;
return ret;
}
inline state_t operator++(state_t& s, int) // postfix
{
state_t ret(s);
- s = ++s;
+ ++s;
return ret;
}